import hasRole from './permission/hasRole'
import hasPermi from './permission/hasPermi'
import copy from './copy/index.js'
import debounce from "./debounce/index.js";
import throttle from "./throttle/index.js";

export default function directive(app){
  app.directive('hasRole', hasRole)
  app.directive('hasPermi', hasPermi)
  app.directive('copy', copy)
  app.directive('debounce', debounce)
  app.directive('throttle', throttle)
}
